xend: solve issues with xm block-configure command.
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 19 May 2009 00:37:19 +0000 (01:37 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 19 May 2009 00:37:19 +0000 (01:37 +0100)
commit9528ca9f77fe92a4e014543d9b6badeb6e6245df
tree3cde0d06e69b7269e673cebc17984feb802527c3
parentfdaaa5fe16b80537af735462993877658dff4869
xend: solve issues with xm block-configure command.

In the case of inactive managed domains:
 The following error occurs currently.  We cannot change the
 configuration of the VBD by using xm block-configure.  Of course,
 using xm block-detach and xm block-attach instead of xm
 block-configure, we can change it. However, I'd like to change it by
 using xm block-configure.

In the case of active domains:
 Another problem occurs after a domain was rebooted.  Even if we
 change a configuration of a VBD in the domain by using xm
 block-configure, the configuration of the VBD is reverted to previous
 configuration after the domain was rebooted.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
tools/python/xen/xend/XendDomainInfo.py